﻿using System;
using System.Collections.Generic;

namespace MessagePack.Formatters
{
	// Token: 0x0200001E RID: 30
	public class DictionaryFormatter<TKey, TValue> : DictionaryFormatterBase<TKey, TValue, Dictionary<TKey, TValue>, Dictionary<TKey, TValue>>
	{
		// Token: 0x06000070 RID: 112 RVA: 0x00003002 File Offset: 0x00001402
		protected override void Add(Dictionary<TKey, TValue> collection, int index, TKey key, TValue value)
		{
			collection.Add(key, value);
		}

		// Token: 0x06000071 RID: 113 RVA: 0x0000300D File Offset: 0x0000140D
		protected override Dictionary<TKey, TValue> Complete(Dictionary<TKey, TValue> intermediateCollection)
		{
			return intermediateCollection;
		}

		// Token: 0x06000072 RID: 114 RVA: 0x00003010 File Offset: 0x00001410
		protected override Dictionary<TKey, TValue> Create(int count)
		{
			return new Dictionary<TKey, TValue>(count);
		}
	}
}
